<?php
// echo getcwd();
require 'database.php';

class Model
{
    private $_db;
    protected $_link; // moi lop con co them thuoc tinh protected sau khi ke thua tu lop cha nay`
    public function __construct()
    {
        $this->_db = new Database(); // initial database object
        $this->_link = $this->_db->returnConnection();
    }
}